package com.milvus.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class MilvusConfig {
    @Value("${milvus.collectionName}")
    public String collectionName;
    @Value("${milvus.token}")
    public String token;
    @Value("${milvus.uri}")
    public String uri;
    @Value("${milvus.uploadPath}")
    public String uploadPath ;

    @Bean
    public MilvusConfig MilvusConfig()
    {
        return new MilvusConfig();
    }
}
